package com.example.common.constants;

public class ActivityConstants {
    // 用户活跃度交换机
    public static final String USER_ACTIVITY_EXCHANGE = "user.activity.exchange";

    // 教师活跃度队列
    public static final String TEACHER_ACTIVITY_QUEUE = "teacher.activity.queue";

    // 学生活跃度队列
    public static final String STUDENT_ACTIVITY_QUEUE = "student.activity.queue";

    // 路由键常量
    public static final String TEACHER_ROUTING_KEY = "activity.teacher";
    public static final String STUDENT_ROUTING_KEY = "activity.student";
    public static final String DLX_ROUTING_KEY = "dlx.user.activity";

    // 死信交换机
    public static final String DLX_EXCHANGE = "user.activity.dlx.exchange";
    // 死信队列
    public static final String DLX_QUEUE = "user.activity.dlx.queue";

    // 队列参数
    public static final String X_DEAD_LETTER_EXCHANGE = "x-dead-letter-exchange";
    public static final String X_DEAD_LETTER_ROUTING_KEY = "x-dead-letter-routing-key";

    //网关过滤器方法，参数前缀
    public static final String Filter_ROUTING_KEY_PREF = "activity.";
    //管理员控制器模块统计参数（字符串匹配）
    public static final String MODULE_STATISTICS = ":module:*:";

}
